#ifndef IDIOM_H
#define IDIOM_H

#include <QString>

/**
 * @brief The idiomtype enum
 * This "enum" create a simple type to handle the two languages: English and
 * Spanish
 */
enum idiomtype{
  ENG=0,SPA=1
};

/**
 * @brief The Idiom class
 * This class has bean used to "Sonar Developers" to enable switch language in
 * all applications.
 * Right now, has bean considered two language:  English and Spanish.
 */
class Idiom
{
public:
  Idiom();

  void setIdiomType(idiomtype newit);

  idiomtype getIdiomType();

  QString getWindowTitle();
  QString getServer();
  QString getFolder();
  QString getStart();
  QString getStop();
  QString getClear();
  QString getHistory();
  QString getSettings();
  QString getPort();
  QString getIdiom();
  QString getAbout();
  QString getStarted();
  QString getStoped();
  QString getFindme();

private:
  idiomtype it;

  QString windowTitle[2];

  QString server[2];
  QString folder[2];
  QString start[2];
  QString stop[2];
  QString clear[2];
  QString history[2];
  QString settings[2];
  QString port[2];
  QString idiom[2];
  QString about[2];
  QString started[2];
  QString stoped[2];
  QString findme[2];
};

#endif // IDIOM_H
